package com.xinsilu.hospital.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ym
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Discharge_table")
@ApiModel(value="DischargeTable对象", description="")
public class DischargeTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer patientId;

    @ApiModelProperty(value = "科室id")
    @TableField("Department_id")
    private Integer departmentId;

    @ApiModelProperty(value = "预交金额")
    private String advance;

    @ApiModelProperty(value = "交款时间")
    @TableField("Payment_date")
    private String paymentDate;

    @ApiModelProperty(value = "床位")
    private String bed;

    @ApiModelProperty(value = "预交剩余")
    private String surplus;

    @ApiModelProperty(value = "住院状态")
    private Integer state;

    @ApiModelProperty(value = "入住时间")
    @TableField("Check_date")
    private String checkDate;

    @ApiModelProperty(value = "实住时间")
    @TableField("Actual_date")
    private String actualDate;

    @ApiModelProperty(value = "主治医生")
    private String doctorName;

    @ApiModelProperty(value = "已消费")
    private String consume;
    

    private Integer uid;

    private String name;

    private String ksName;

    private Integer age;

    private String sex;

    private String qian;

    private UserTable userTable;

    private Department department;

    private String card;





}
